<?php
namespace  app\manage\model;
use think\Model;
class OperationLog extends Model{
    protected $autoWriteTimestamp = true;
    protected $updateTime = false;
    protected  function getStatusAttr($value){
        $status = [
            1=>'登陆',
            2=>'修改',
            3=>'增加',
            4=>'删除',
        ];
        return $status[$value];
    }
}
